#include "DropletRainbow/DropletRainbow.h"

DropletRainbow::DropletRainbow(ObjectPhysicsData *objPhysics) 
	: IDroplet(objPhysics) 
{ return; }

DropletRainbow::~DropletRainbow() { return; }

void DropletRainbow::DropletInit()
{
	ResetAllSystems();
	SeedRandom(static_cast<int32_t>(GetDropletID()));

	SetRGB(0, 0, 255);
	colorSet = 0;
}

void DropletRainbow::DropletMainLoop()
{
	uint8_t g = GetRandom();
	uint8_t b = GetRandom();
	uint8_t r = GetRandom();
	SetRGB(r, g, b);
}